package com.niuwa.p2p.dao.credit;

import com.niuwa.p2p.dao.MyBatisDao;
import com.niuwa.p2p.entity.credit.CorpBaseNationalInfo;

@MyBatisDao
public interface CorpBaseNationalInfoDao {
	int deleteByPrimaryKey(Long id);

	int deleteByCorpName(String corpName);

	int insert(CorpBaseNationalInfo record);

	int insertSelective(CorpBaseNationalInfo record);

	CorpBaseNationalInfo selectByPrimaryKey(Long id);

	int updateByPrimaryKeySelective(CorpBaseNationalInfo record);

	int updateByPrimaryKey(CorpBaseNationalInfo record);

	CorpBaseNationalInfo selectByCorpName(String corpName);

}